package dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 大额贷产品申请业务对象 apply
 *
 * @author ruoyi
 * @date 2022-05-24
 */

@Data
@ApiModel("订单信息")
public class ApplyBo {

    /**
     *
     */
    @ApiModelProperty(value = "", required = true)
    private Long id;

    /**
     * uid客户id
     */
    @ApiModelProperty(value = "uid客户id", required = true)
    @NotNull(message = "uid客户id不能为空")
    private Long uid;

    /**
     * 大额产品id
     */
    @ApiModelProperty(value = "大额产品id", required = true)
    @NotNull(message = "大额产品id不能为空")
    private Long pid;

    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称", required = true)
    private String productName;

    /**
     * 部门ID,甲方渠道id
     */
    @ApiModelProperty(value = "部门ID,甲方渠道id", required = true)
    private Long deptId;

    /**
     * 甲方渠道名称
     */
    @ApiModelProperty(value = "甲方渠道名称", required = true)
    private String deptName;

    /**
     * 乙方渠道id
     */
    @ApiModelProperty(value = "乙方渠道id", required = true)
    private Integer cid;

    /**
     * 乙方渠道名称
     */
    @ApiModelProperty(value = "乙方渠道名称", required = true)
    private String channelName;

    /**
     * 城市id
     */
    @ApiModelProperty(value = "城市id", required = true)
    @NotBlank(message = "城市id不能为空")
    private String cityId;

    /**
     * 城市名称
     */
    @ApiModelProperty(value = "城市名称", required = true)
    private String city;

    /**
     * 贷款金额
     */
    @ApiModelProperty(value = "贷款金额", required = true)
    private Integer loan;

    /**
     * 几个月
     */
    @ApiModelProperty(value = "几个月", required = true)
    private Integer loanTerm;

    /**
     * 1成功 0默认 2失败
     */
    @ApiModelProperty(value = "1成功 0默认 2失败", required = true)
    private Integer pushStatus;

    /**
     * 单价
     */
    @ApiModelProperty(value = "单价", required = true)
    private BigDecimal univalent;

    /**
     * 推送返回
     */
    @ApiModelProperty(value = "推送返回", required = true)
    private String msg;

    /**
     * h5、app
     */
    @ApiModelProperty(value = "h5、app", required = true)
    @NotBlank(message = "auditSource(h5、app)不能为空")
    private String auditSource;

    /**
     * 0:内部  1:api
     */
    @ApiModelProperty(value = "0:内部  1:api", required = true)
    private Integer type;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", required = true)
    @NotBlank(message = "姓名不能为空")
    private String name;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String phone;

    /**
     * 性别 1男0女
     */
    @ApiModelProperty(value = "性别 1男0女", required = true)
    private Integer sex;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", required = true)
    private Integer age;

    /**
     * 0:无芝麻分 1:600分以下 2:600-650分 3:650-700分 4:700分以上
     */
    @ApiModelProperty(value = "0:无芝麻分 1:600分以下 2:600-650分 3:650-700分 4:700分以上", required = true)
    private Integer zhimaCredit;

    /**
     * 社保：0无 1有
     */
    @ApiModelProperty(value = "社保：0无 1有", required = true)
    private Integer has;

    /**
     * 公积金	0无 1有
     */
    @ApiModelProperty(value = "公积金	0无 1有", required = true)
    private Integer fund;

    /**
     * 房产	0无 1有
     */
    @ApiModelProperty(value = "房产	0无 1有", required = true)
    private Integer houseProperty;

    /**
     * 车产	0无 1有
     */
    @ApiModelProperty(value = "车产	0无 1有", required = true)
    private Integer carProperty;

    /**
     * 保险报单 0无 1有
     */
    @ApiModelProperty(value = "保险报单 0无 1有", required = true)
    private Integer bdStatus;

    /**
     * 星期几（0,1,2,3,4,5,6）
     */
    @ApiModelProperty(value = "星期几（0,1,2,3,4,5,6）", required = true)
    private Integer week;

    @ApiModelProperty(value = "来源平台")
    private String platform;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

}
